<?php

namespace DebugComponent\Message;

class Memory extends Message {

    public function __construct($message, $memoryInKB) {
        parent::__construct($message);
        $memoryInKB = (double)$memoryInKB;
        $this->memoryInKB = $memoryInKB;
    }

    public function getMemoryInKB() {
        return $this->memoryInKB;
    }

    private $memoryInKB;
}